package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;

import java.util.List;

/**
 * Created by DK on 17/3/13.
 */
public class AuthTitleResourceDto extends DtoEntity {

    private Long titleId;//职称ID
    private Long mallId;//平台ID
    private Long userAdminId;//管理员ID
    private Long merchantId;//商家id
    private Long resourceId; //菜单ID
    private Long resourceParentId; //菜单父ID
    private String name; //职称名称
    private List<Long> resourceIdList;//菜单ID集合

    public Long getTitleId() {
        return titleId;
    }

    public void setTitleId(Long titleId) {
        this.titleId = titleId;
    }

    public Long getMallId() {
        return mallId;
    }

    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    public Long getUserAdminId() {
        return userAdminId;
    }

    public void setUserAdminId(Long userAdminId) {
        this.userAdminId = userAdminId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Long getResourceId() {
        return resourceId;
    }

    public void setResourceId(Long resourceId) {
        this.resourceId = resourceId;
    }

    public Long getResourceParentId() {
        return resourceParentId;
    }

    public void setResourceParentId(Long resourceParentId) {
        this.resourceParentId = resourceParentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Long> getResourceIdList() {
        return resourceIdList;
    }

    public void setResourceIdList(List<Long> resourceIdList) {
        this.resourceIdList = resourceIdList;
    }

    @Override
    public String toString() {
        return "AuthTitleResourceDto{" +
                "titleId=" + titleId +
                ", mallId=" + mallId +
                ", userAdminId=" + userAdminId +
                ", merchantId=" + merchantId +
                ", resourceId=" + resourceId +
                ", resourceParentId=" + resourceParentId +
                ", name='" + name + '\'' +
                ", resourceIdList=" + resourceIdList +
                '}';
    }
}
